/**
 * 
 */
package site.entity;

import neoutil.CommonEntity;

/**
 * @author Neo
 * 
 */
public class Category extends CommonEntity {
	public static final long LATEST_NEWS = 1;
	public static final long HEAD_NEWS = 2;
	public static final long LATEST_NOTICE = 3;
	/**
	 * 政策法规
	 */
	public static final long POLICY_AND_LAW = 4;

	public static final int TYPE_BUILT_IN = 1;
	public static final int TYPE_USER_ADDED = 2;

	public static final int LEVEL_TOP = 1;
	private String name;
	private long parentId;
	private int level;
	private int type = TYPE_USER_ADDED;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getParentId() {
		return parentId;
	}

	public void setParentId(long parentId) {
		this.parentId = parentId;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
